package com.xc.content.model.dto;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Mr.M
 * @version 1.0
 * @description 教师信息dto
 * @date 2022/9/7 17:40
 */
@Data
@ApiModel(value = "CourseTeacherDto", description = "教师信息")
public class CourseTeacherDto {

    private Long id;

    @NotNull(message = "课程id不能为空")
    @ApiModelProperty(value = "课程id")
    private Long courseId;

    @NotEmpty(message = "教师名称不能为空")
    @ApiModelProperty(value = "教师名称")
    private String teacherName;

    @NotEmpty(message = "教师职位不能为空")
    @ApiModelProperty(value = "教师职位")
    private String position;


    @ApiModelProperty(value = "教师简介")
    private String introduction;

    @ApiModelProperty(value = "照片")
    private String photograph;


}
